// 判断是否是链接地址
export const isURL = (htmlContent: string) => {
  return /https?:\/\//.test(htmlContent)
}

export const isIos = (): boolean => {
  return /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream
}
